<?php


    // Author: Tomasz Durka
    // Creation date: 15th August 2009
    // Prints out Javascript code
    
    
  function js_query($query) {
    
    $code = '<script language="javascript">';
    $code .= "{$query}";
    $code .= '</script>';
    
    return $code;
    
  }

?>